import axios from '../myaxios/myaxios'
//获取首页轮播图数据
export const getSwiperData=()=>axios.get("home/swiperdata")
//获取首页轮播图片列表
export const getNavImgs=()=>axios.get("home/catitems")
//获取首页图片列表
export const getHomeFloorData=() => axios.get("home/floordata")
//搜索产品接口
export const getProductList=(params) =>axios.get("goods/qsearch",{
  params:params
})
//获取产品列表数据
export const getProductListData=(params)=>axios.get("/goods/search",{
  params:params
})
//获取商品分类
export const getCategories=(params) => axios.get("/categories")
//商品详情
export const getGoodDetail=(params) =>axios.get("goods/detail",{
  params:params
})

